package com.imodia.checkoo.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.hsq.commons.util.db.GenericIbatisDao;
import com.hsq.commons.util.db.SqlParam;
import com.hsq.commons.util.db.annotation.SqlSpace;
import com.imodia.checkoo.bean.CmsDocumentBean;
import com.imodia.checkoo.service.CmsDocumentService;

@SqlSpace(spaceName="cmsdocument")
@Service("cmsDocumentService")
public class CmsDocumentServiceImpl extends
	GenericIbatisDao<CmsDocumentBean, Integer> implements
	CmsDocumentService {
	
	
	public List<CmsDocumentBean> list(){
		SqlParam documentSql = new SqlParam();
		documentSql.andOrderListValue("priority", "");
		return super.list(documentSql);
	}
		
	
	
}